package edu.towson.android.graphgrammar.activity.impl;

import edu.towson.android.graphgrammar.activity.IActivityFromManifestReader;
import edu.towson.android.graphgrammar.activity.IActivityToGraphxmlWriter;

public class ReaderWritterFactory {

	private static ActivityFromManifestReaderImplV1 readerV1 = null;
	private static ActivityToGraphxmlWriterImplV1 writerV1 = null;

	public static synchronized IActivityFromManifestReader getReaderImplVersion1() {
		if (readerV1 == null) {
			readerV1 = new ActivityFromManifestReaderImplV1();
		}
		return readerV1;
	}

	public static synchronized IActivityToGraphxmlWriter getWriterImplVersion1() {
		if (writerV1 == null) {
			writerV1 = new ActivityToGraphxmlWriterImplV1();
		}
		return writerV1;
	}

}
